<!--
 * @Author: your name
 * @Date: 2021-08-10 16:36:03
 * @LastEditTime: 2021-08-10 16:43:00
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\3-html&css\day07\10-背景渐变.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景渐变</title>
    <style>
        div {
            border:1px solid green;
            width:200px;
            height:200px;
              /* 线性渐变（Linear Gradients）- 向下/向上/向左/向右/对角方向 */
/* 径向渐变（Radial Gradients）- 由它们的中心定义 */
            background-color: radial-gradient(red yellow);
            /* background-color: steelblue; */
        }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>